package com.ktgj.flight.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 机票预订_机票订单机票明细对象 flight_order_info_tickets
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class  FlightOrderInfoTickets extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long orderInfoTicketsId;

    /** 是否逾期未飞 */
    @Excel(name = "是否逾期未飞")
    private String isoverdue;

    /** 是否挂起 */
    @Excel(name = "是否挂起")
    private String ifPutUp;

    /** 航段数，大于1 为往返 */
    @Excel(name = "航段数，大于1 为往返")
    private Long tripNum;

    /** 出票折扣 */
    @Excel(name = "出票折扣")
    private Long discount;

    /** 乘客生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "乘客生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date guestBirthday;

    /** 票价损失费 */
    @Excel(name = "票价损失费")
    private BigDecimal lossFee;

    /** 票号 */
    @Excel(name = "票号")
    private String ticketNo;

    /** 起飞机场航站楼 */
    @Excel(name = "起飞机场航站楼")
    private String depTerm;

    /** 是否已经开发票 0未开 1 开票中(已经保存,飞机起飞后执行队列) 2开票完成 */
    @Excel(name = "是否已经开发票 0未开 1 开票中(已经保存,飞机起飞后执行队列) 2开票完成")
    private String isInvoice;

    /** 保险总金额 */
    @Excel(name = "保险总金额")
    private BigDecimal insuranceAmount;

    /** 格式：经停城市三字码|经停开始时间（yyyy-MM-dd HH:mm）|经停结束时间（yyyy-MM-dd HH:mm） */
    @Excel(name = "格式：经停城市三字码|经停开始时间", readConverterExp = "y=yyy-MM-dd,H=H:mm")
    private String stopDesc;

    /** 全价 */
    @Excel(name = "全价")
    private BigDecimal fullPrice;

    /** 航空公司 */
    @Excel(name = "航空公司")
    private String airliner;

    /** 出港城市 */
    @Excel(name = "出港城市")
    private String departure;

    /** 乘客姓名 */
    @Excel(name = "乘客姓名")
    private String guestName;

    /** 改期关联订单号（原单填写改期之后的订单号。如果是改期之后的订单此处为空） */
    @Excel(name = "改期关联订单号", readConverterExp = "原=单填写改期之后的订单号。如果是改期之后的订单此处为空")
    private Long changeDateOrderId;

    /** 成人数量|儿童数量|婴儿数量 */
    @Excel(name = "成人数量|儿童数量|婴儿数量")
    private String pnrmark;

    /** 保险数量 */
    @Excel(name = "保险数量")
    private Long insuranceNum;

    /** 航段类型（单程，往返中转第一程均为OW,往返第二程为RT,中转第二程为OT。老版本往返票为WM已经废弃） */
    @Excel(name = "航段类型", readConverterExp = "单=程，往返中转第一程均为OW,往返第二程为RT,中转第二程为OT。老版本往返票为WM已经废弃")
    private String tripType;

    /** 票面价 */
    @Excel(name = "票面价")
    private BigDecimal ticketPrice;

    /** 机票类型ID */
    @Excel(name = "机票类型ID")
    private Long ticketTypeId;

    /** 机票乘客订单ID */
    @Excel(name = "机票乘客订单ID")
    private Long guestId;

    /** 改期服务费 */
    @Excel(name = "改期服务费")
    private BigDecimal changeServiceFee;

    /** 飞机餐食等级 */
    @Excel(name = "飞机餐食等级")
    private String tripMeal;

    /** 1未换登机牌，2已换登机牌，3已下单未代换 */
    @Excel(name = "1未换登机牌，2已换登机牌，3已下单未代换")
    private String ticketState;

    /** 行程单价格 */
    @Excel(name = "行程单价格")
    private BigDecimal tripPrice;

    /** 乘客类型 */
    @Excel(name = "乘客类型")
    private String guestType;

    /** 航班号 */
    @Excel(name = "航班号")
    private String flight;

    /** 证件号 */
    @Excel(name = "证件号")
    private String guestIdno;

    /** 舱位标识 */
    @Excel(name = "舱位标识")
    private String subcabin;

    /**  乘客是否已经起飞 -1调用接口返回失败,1 未起飞 2 已起飞 */
    @Excel(name = " 乘客是否已经起飞 -1调用接口返回失败,1 未起飞 2 已起飞")
    private String isFly;

    /** 舱位等级 */
    @Excel(name = "舱位等级")
    private String cabinGrade;

    /** 保险状态 */
    @Excel(name = "保险状态")
    private String insuranceState;

    /** 机票状态 退票的是 1   退票完成的是2  空的是没有退票的 */
    @Excel(name = "机票状态 退票的是 1   退票完成的是2  空的是没有退票的")
    private String guestStatus;

    /** 当前舱位的FD价格，公布运价 */
    @Excel(name = "当前舱位的FD价格，公布运价")
    private BigDecimal fdPrice;

    /** 机票返现金额 */
    @Excel(name = "机票返现金额")
    private BigDecimal returnCash;

    /** 改期费 */
    @Excel(name = "改期费")
    private BigDecimal changeFee;

    /** 到达机场航站楼 */
    @Excel(name = "到达机场航站楼")
    private String arrTerm;

    /** 乘客性别 */
    @Excel(name = "乘客性别")
    private String guestSex;

    /** 是否赠送 1是赠送，0是不赠送 */
    @Excel(name = "是否赠送 1是赠送，0是不赠送")
    private String sendstate;

    /** 航班类型 */
    @Excel(name = "航班类型")
    private String flightType;

    /** 公司实际利润(除了携程，其他渠道的佣金要与应付报表保持一致) */
    @Excel(name = "公司实际利润(除了携程，其他渠道的佣金要与应付报表保持一致)")
    private BigDecimal gcProfit;

    /** 燃油费 */
    @Excel(name = "燃油费")
    private BigDecimal fuelFee;

    /** 机建费 */
    @Excel(name = "机建费")
    private BigDecimal airportFee;

    /** 出发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date departureTime;

    /** 证件类型ID */
    @Excel(name = "证件类型ID")
    private Long idTypeId;

    /** 原始票面价（shoppping价格） */
    @Excel(name = "原始票面价", readConverterExp = "s=hoppping价格")
    private BigDecimal orgPrice;

    /** 实际承运航班 */
    @Excel(name = "实际承运航班")
    private String actFlightNo;

    /** 返现类型0线上自动返现，1线下手工返现 */
    @Excel(name = "返现类型0线上自动返现，1线下手工返现")
    private String returnCashType;

    /** 第三方接口中对应的乘客ID */
    @Excel(name = "第三方接口中对应的乘客ID")
    private Long outTicketId;

    /** 财务报表取值，0取ticket_price ，1取org_Price */
    @Excel(name = "财务报表取值，0取ticket_price ，1取org_Price")
    private String priceType;

    /** 乘机人手机号 */
    @Excel(name = "乘机人手机号")
    private String guestMobile;

    /** 舱位 */
    @Excel(name = "舱位")
    private String cabin;

    /** 到达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "到达时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arrivalTime;

    /** 机票政策ID */
    @Excel(name = "机票政策ID")
    private Long commdefId;

    /** 升舱费 */
    @Excel(name = "升舱费")
    private BigDecimal upGradeFee;

    /** 返点 */
    @Excel(name = "返点")
    private Long commisionRate;

    /** 到港城市 */
    @Excel(name = "到港城市")
    private String arrival;

    /** 机票订单基本信息ID */
    @Excel(name = "机票订单基本信息ID")
    private Long orderId;

    /** 客户基本信息ID */
    @Excel(name = "客户基本信息ID")
    private Long customerId;

    /** 直降政策表主键 */
    @Excel(name = "直降政策表主键")
    private Long downPolicyId;

    /** 保险id，多个保险时用 , 隔开 */
    @Excel(name = "保险id，多个保险时用 , 隔开")
    private String insuranceID;

    /** 保险金额，多个保险时用 , 隔开 */
    @Excel(name = "保险金额，多个保险时用 , 隔开")
    private String insurancePrice;

    /** 出发机场三字码 */
    @Excel(name = "出发机场三字码")
    private String orgAirport;

    /** 抵达机场三字码 */
    @Excel(name = "抵达机场三字码")
    private String dstAirport;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setOrderInfoTicketsId(Long orderInfoTicketsId) 
    {
        this.orderInfoTicketsId = orderInfoTicketsId;
    }

    public Long getOrderInfoTicketsId() 
    {
        return orderInfoTicketsId;
    }
    public void setIsoverdue(String isoverdue) 
    {
        this.isoverdue = isoverdue;
    }

    public String getIsoverdue() 
    {
        return isoverdue;
    }
    public void setIfPutUp(String ifPutUp) 
    {
        this.ifPutUp = ifPutUp;
    }

    public String getIfPutUp() 
    {
        return ifPutUp;
    }
    public void setTripNum(Long tripNum) 
    {
        this.tripNum = tripNum;
    }

    public Long getTripNum() 
    {
        return tripNum;
    }
    public void setDiscount(Long discount) 
    {
        this.discount = discount;
    }

    public Long getDiscount() 
    {
        return discount;
    }
    public void setGuestBirthday(Date guestBirthday) 
    {
        this.guestBirthday = guestBirthday;
    }

    public Date getGuestBirthday() 
    {
        return guestBirthday;
    }
    public void setLossFee(BigDecimal lossFee) 
    {
        this.lossFee = lossFee;
    }

    public BigDecimal getLossFee() 
    {
        return lossFee;
    }
    public void setTicketNo(String ticketNo) 
    {
        this.ticketNo = ticketNo;
    }

    public String getTicketNo() 
    {
        return ticketNo;
    }
    public void setDepTerm(String depTerm) 
    {
        this.depTerm = depTerm;
    }

    public String getDepTerm() 
    {
        return depTerm;
    }
    public void setIsInvoice(String isInvoice) 
    {
        this.isInvoice = isInvoice;
    }

    public String getIsInvoice() 
    {
        return isInvoice;
    }
    public void setInsuranceAmount(BigDecimal insuranceAmount) 
    {
        this.insuranceAmount = insuranceAmount;
    }

    public BigDecimal getInsuranceAmount() 
    {
        return insuranceAmount;
    }
    public void setStopDesc(String stopDesc) 
    {
        this.stopDesc = stopDesc;
    }

    public String getStopDesc() 
    {
        return stopDesc;
    }
    public void setFullPrice(BigDecimal fullPrice) 
    {
        this.fullPrice = fullPrice;
    }

    public BigDecimal getFullPrice() 
    {
        return fullPrice;
    }
    public void setAirliner(String airliner) 
    {
        this.airliner = airliner;
    }

    public String getAirliner() 
    {
        return airliner;
    }
    public void setDeparture(String departure) 
    {
        this.departure = departure;
    }

    public String getDeparture() 
    {
        return departure;
    }
    public void setGuestName(String guestName) 
    {
        this.guestName = guestName;
    }

    public String getGuestName() 
    {
        return guestName;
    }
    public void setChangeDateOrderId(Long changeDateOrderId) 
    {
        this.changeDateOrderId = changeDateOrderId;
    }

    public Long getChangeDateOrderId() 
    {
        return changeDateOrderId;
    }
    public void setPnrmark(String pnrmark) 
    {
        this.pnrmark = pnrmark;
    }

    public String getPnrmark() 
    {
        return pnrmark;
    }
    public void setInsuranceNum(Long insuranceNum) 
    {
        this.insuranceNum = insuranceNum;
    }

    public Long getInsuranceNum() 
    {
        return insuranceNum;
    }
    public void setTripType(String tripType) 
    {
        this.tripType = tripType;
    }

    public String getTripType() 
    {
        return tripType;
    }
    public void setTicketPrice(BigDecimal ticketPrice) 
    {
        this.ticketPrice = ticketPrice;
    }

    public BigDecimal getTicketPrice() 
    {
        return ticketPrice;
    }
    public void setTicketTypeId(Long ticketTypeId) 
    {
        this.ticketTypeId = ticketTypeId;
    }

    public Long getTicketTypeId() 
    {
        return ticketTypeId;
    }
    public void setGuestId(Long guestId) 
    {
        this.guestId = guestId;
    }

    public Long getGuestId() 
    {
        return guestId;
    }
    public void setChangeServiceFee(BigDecimal changeServiceFee) 
    {
        this.changeServiceFee = changeServiceFee;
    }

    public BigDecimal getChangeServiceFee() 
    {
        return changeServiceFee;
    }
    public void setTripMeal(String tripMeal) 
    {
        this.tripMeal = tripMeal;
    }

    public String getTripMeal() 
    {
        return tripMeal;
    }
    public void setTicketState(String ticketState) 
    {
        this.ticketState = ticketState;
    }

    public String getTicketState() 
    {
        return ticketState;
    }
    public void setTripPrice(BigDecimal tripPrice) 
    {
        this.tripPrice = tripPrice;
    }

    public BigDecimal getTripPrice() 
    {
        return tripPrice;
    }
    public void setGuestType(String guestType) 
    {
        this.guestType = guestType;
    }

    public String getGuestType() 
    {
        return guestType;
    }
    public void setFlight(String flight) 
    {
        this.flight = flight;
    }

    public String getFlight() 
    {
        return flight;
    }
    public void setGuestIdno(String guestIdno) 
    {
        this.guestIdno = guestIdno;
    }

    public String getGuestIdno() 
    {
        return guestIdno;
    }
    public void setSubcabin(String subcabin) 
    {
        this.subcabin = subcabin;
    }

    public String getSubcabin() 
    {
        return subcabin;
    }
    public void setIsFly(String isFly) 
    {
        this.isFly = isFly;
    }

    public String getIsFly() 
    {
        return isFly;
    }
    public void setCabinGrade(String cabinGrade)
    {
        this.cabinGrade = cabinGrade;
    }

    public String getCabinGrade()
    {
        return cabinGrade;
    }
    public void setInsuranceState(String insuranceState) 
    {
        this.insuranceState = insuranceState;
    }

    public String getInsuranceState() 
    {
        return insuranceState;
    }
    public void setGuestStatus(String guestStatus) 
    {
        this.guestStatus = guestStatus;
    }

    public String getGuestStatus() 
    {
        return guestStatus;
    }
    public void setFdPrice(BigDecimal fdPrice) 
    {
        this.fdPrice = fdPrice;
    }

    public BigDecimal getFdPrice() 
    {
        return fdPrice;
    }
    public void setReturnCash(BigDecimal returnCash) 
    {
        this.returnCash = returnCash;
    }

    public BigDecimal getReturnCash() 
    {
        return returnCash;
    }
    public void setChangeFee(BigDecimal changeFee) 
    {
        this.changeFee = changeFee;
    }

    public BigDecimal getChangeFee() 
    {
        return changeFee;
    }
    public void setArrTerm(String arrTerm) 
    {
        this.arrTerm = arrTerm;
    }

    public String getArrTerm() 
    {
        return arrTerm;
    }
    public void setGuestSex(String guestSex) 
    {
        this.guestSex = guestSex;
    }

    public String getGuestSex() 
    {
        return guestSex;
    }
    public void setSendstate(String sendstate) 
    {
        this.sendstate = sendstate;
    }

    public String getSendstate() 
    {
        return sendstate;
    }
    public void setFlightType(String flightType) 
    {
        this.flightType = flightType;
    }

    public String getFlightType() 
    {
        return flightType;
    }
    public void setGcProfit(BigDecimal gcProfit) 
    {
        this.gcProfit = gcProfit;
    }

    public BigDecimal getGcProfit() 
    {
        return gcProfit;
    }
    public void setFuelFee(BigDecimal fuelFee) 
    {
        this.fuelFee = fuelFee;
    }

    public BigDecimal getFuelFee() 
    {
        return fuelFee;
    }
    public void setAirportFee(BigDecimal airportFee) 
    {
        this.airportFee = airportFee;
    }

    public BigDecimal getAirportFee() 
    {
        return airportFee;
    }
    public void setDepartureTime(Date departureTime) 
    {
        this.departureTime = departureTime;
    }

    public Date getDepartureTime() 
    {
        return departureTime;
    }
    public void setIdTypeId(Long idTypeId) 
    {
        this.idTypeId = idTypeId;
    }

    public Long getIdTypeId() 
    {
        return idTypeId;
    }
    public void setOrgPrice(BigDecimal orgPrice) 
    {
        this.orgPrice = orgPrice;
    }

    public BigDecimal getOrgPrice() 
    {
        return orgPrice;
    }
    public void setActFlightNo(String actFlightNo) 
    {
        this.actFlightNo = actFlightNo;
    }

    public String getActFlightNo() 
    {
        return actFlightNo;
    }
    public void setReturnCashType(String returnCashType) 
    {
        this.returnCashType = returnCashType;
    }

    public String getReturnCashType() 
    {
        return returnCashType;
    }
    public void setOutTicketId(Long outTicketId) 
    {
        this.outTicketId = outTicketId;
    }

    public Long getOutTicketId() 
    {
        return outTicketId;
    }
    public void setPriceType(String priceType) 
    {
        this.priceType = priceType;
    }

    public String getPriceType() 
    {
        return priceType;
    }
    public void setGuestMobile(String guestMobile) 
    {
        this.guestMobile = guestMobile;
    }

    public String getGuestMobile() 
    {
        return guestMobile;
    }
    public void setCabin(String cabin) 
    {
        this.cabin = cabin;
    }

    public String getCabin() 
    {
        return cabin;
    }
    public void setArrivalTime(Date arrivalTime) 
    {
        this.arrivalTime = arrivalTime;
    }

    public Date getArrivalTime() 
    {
        return arrivalTime;
    }
    public void setCommdefId(Long commdefId) 
    {
        this.commdefId = commdefId;
    }

    public Long getCommdefId() 
    {
        return commdefId;
    }
    public void setUpGradeFee(BigDecimal upGradeFee) 
    {
        this.upGradeFee = upGradeFee;
    }

    public BigDecimal getUpGradeFee() 
    {
        return upGradeFee;
    }
    public void setCommisionRate(Long commisionRate) 
    {
        this.commisionRate = commisionRate;
    }

    public Long getCommisionRate() 
    {
        return commisionRate;
    }
    public void setArrival(String arrival) 
    {
        this.arrival = arrival;
    }

    public String getArrival() 
    {
        return arrival;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setDownPolicyId(Long downPolicyId) 
    {
        this.downPolicyId = downPolicyId;
    }

    public Long getDownPolicyId() 
    {
        return downPolicyId;
    }

    public String getInsuranceID() {
        return insuranceID;
    }

    public void setInsuranceID(String insuranceID) {
        this.insuranceID = insuranceID;
    }

    public String getInsurancePrice() {
        return insurancePrice;
    }

    public void setInsurancePrice(String insurancePrice) {
        this.insurancePrice = insurancePrice;
    }

    public String getOrgAirport() {
        return orgAirport;
    }

    public void setOrgAirport(String orgAirport) {
        this.orgAirport = orgAirport;
    }

    public String getDstAirport() {
        return dstAirport;
    }

    public void setDstAirport(String dstAirport) {
        this.dstAirport = dstAirport;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderInfoTicketsId", getOrderInfoTicketsId())
            .append("isoverdue", getIsoverdue())
            .append("ifPutUp", getIfPutUp())
            .append("tripNum", getTripNum())
            .append("discount", getDiscount())
            .append("guestBirthday", getGuestBirthday())
            .append("lossFee", getLossFee())
            .append("ticketNo", getTicketNo())
            .append("depTerm", getDepTerm())
            .append("isInvoice", getIsInvoice())
            .append("insuranceAmount", getInsuranceAmount())
            .append("stopDesc", getStopDesc())
            .append("fullPrice", getFullPrice())
            .append("airliner", getAirliner())
            .append("departure", getDeparture())
            .append("guestName", getGuestName())
            .append("changeDateOrderId", getChangeDateOrderId())
            .append("pnrmark", getPnrmark())
            .append("insuranceNum", getInsuranceNum())
            .append("tripType", getTripType())
            .append("ticketPrice", getTicketPrice())
            .append("ticketTypeId", getTicketTypeId())
            .append("guestId", getGuestId())
            .append("changeServiceFee", getChangeServiceFee())
            .append("tripMeal", getTripMeal())
            .append("ticketState", getTicketState())
            .append("tripPrice", getTripPrice())
            .append("guestType", getGuestType())
            .append("flight", getFlight())
            .append("guestIdno", getGuestIdno())
            .append("subcabin", getSubcabin())
            .append("isFly", getIsFly())
            .append("cabinGrade", getCabinGrade())
            .append("insuranceState", getInsuranceState())
            .append("guestStatus", getGuestStatus())
            .append("fdPrice", getFdPrice())
            .append("returnCash", getReturnCash())
            .append("changeFee", getChangeFee())
            .append("arrTerm", getArrTerm())
            .append("guestSex", getGuestSex())
            .append("sendstate", getSendstate())
            .append("flightType", getFlightType())
            .append("gcProfit", getGcProfit())
            .append("fuelFee", getFuelFee())
            .append("airportFee", getAirportFee())
            .append("departureTime", getDepartureTime())
            .append("idTypeId", getIdTypeId())
            .append("orgPrice", getOrgPrice())
            .append("actFlightNo", getActFlightNo())
            .append("returnCashType", getReturnCashType())
            .append("outTicketId", getOutTicketId())
            .append("priceType", getPriceType())
            .append("guestMobile", getGuestMobile())
            .append("cabin", getCabin())
            .append("arrivalTime", getArrivalTime())
            .append("commdefId", getCommdefId())
            .append("upGradeFee", getUpGradeFee())
            .append("commisionRate", getCommisionRate())
            .append("arrival", getArrival())
            .append("orderId", getOrderId())
            .append("customerId", getCustomerId())
            .append("downPolicyId", getDownPolicyId())
            .append("insuranceID", getInsuranceID())
            .append("insurancePrice", getInsurancePrice())
            .append("orgAirport", getOrgAirport())
            .append("dstAirport", getDstAirport())
            .toString();
    }
}
